Optimal. Leaf size=171 \[ -\frac {\left (15 a^2-40 a b+24 b^2\right ) \cot (e+f x)}{15 a^3 f \sqrt {a+b \tan ^2(e+f x)}}-\frac {2 (5 a-3 b) \cot ^3(e+f x)}{15 a^2 f \sqrt {a+b \tan ^2(e+f x)}}-\frac {\cot ^5(e+f x)}{5 a f \sqrt {a+b \tan ^2(e+f x)}}-\frac {2 b \left (15 a^2-40 a b+24 b^2\right ) \tan (e+f x)}{15 a^4 f \sqrt {a+b \tan ^2(e+f x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.12, antiderivative size = 171, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 5, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {3744, 473, 464,
277, 197} \begin {gather*} -\frac {2 (5 a-3 b) \cot ^3(e+f x)}{15 a^2 f \sqrt {a+b \tan ^2(e+f x)}}-\frac {2 b \left (15 a^2-40 a b+24 b^2\right ) \tan (e+f x)}{15 a^4 f \sqrt {a+b \tan ^2(e+f x)}}-\frac {\left (15 a^2-40 a b+24 b^2\right ) \cot (e+f x)}{15 a^3 f \sqrt {a+b \tan ^2(e+f x)}}-\frac {\cot ^5(e+f x)}{5 a f \sqrt {a+b \tan ^2(e+f x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 197
Rule 277
Rule 464
Rule 473
Rule 3744
Rubi steps
\begin {align*} \int \frac {\csc ^6(e+f x)}{\left (a+b \tan ^2(e+f x)\right )^{3/2}} \, dx &=\frac {\text {Subst}\left (\int \frac {\left (1+x^2\right )^2}{x^6 \left (a+b x^2\right )^{3/2}} \, dx,x,\tan (e+f x)\right )}{f}\\ &=-\frac {\cot ^5(e+f x)}{5 a f \sqrt {a+b \tan ^2(e+f x)}}+\frac {\text {Subst}\left (\int \frac {2 (5 a-3 b)+5 a x^2}{x^4 \left (a+b x^2\right )^{3/2}} \, dx,x,\tan (e+f x)\right )}{5 a f}\\ &=-\frac {2 (5 a-3 b) \cot ^3(e+f x)}{15 a^2 f \sqrt {a+b \tan ^2(e+f x)}}-\frac {\cot ^5(e+f x)}{5 a f \sqrt {a+b \tan ^2(e+f x)}}-\frac {\left (-15 a^2+8 (5 a-3 b) b\right ) \text {Subst}\left (\int \frac {1}{x^2 \left (a+b x^2\right )^{3/2}} \, dx,x,\tan (e+f x)\right )}{15 a^2 f}\\ &=-\frac {\left (15 a^2-8 (5 a-3 b) b\right ) \cot (e+f x)}{15 a^3 f \sqrt {a+b \tan ^2(e+f x)}}-\frac {2 (5 a-3 b) \cot ^3(e+f x)}{15 a^2 f \sqrt {a+b \tan ^2(e+f x)}}-\frac {\cot ^5(e+f x)}{5 a f \sqrt {a+b \tan ^2(e+f x)}}+\frac {\left (2 b \left (-15 a^2+8 (5 a-3 b) b\right )\right ) \text {Subst}\left (\int \frac {1}{\left (a+b x^2\right )^{3/2}} \, dx,x,\tan (e+f x)\right )}{15 a^3 f}\\ &=-\frac {\left (15 a^2-8 (5 a-3 b) b\right ) \cot (e+f x)}{15 a^3 f \sqrt {a+b \tan ^2(e+f x)}}-\frac {2 (5 a-3 b) \cot ^3(e+f x)}{15 a^2 f \sqrt {a+b \tan ^2(e+f x)}}-\frac {\cot ^5(e+f x)}{5 a f \sqrt {a+b \tan ^2(e+f x)}}-\frac {2 b \left (15 a^2-8 (5 a-3 b) b\right ) \tan (e+f x)}{15 a^4 f \sqrt {a+b \tan ^2(e+f x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 1.50, size = 135, normalized size = 0.79 \begin {gather*} -\frac {\sqrt {(a+b+(a-b) \cos (2 (e+f x))) \sec ^2(e+f x)} \left (\cot (e+f x) \left (8 a^2-41 a b+33 b^2+a (4 a-9 b) \csc ^2(e+f x)+3 a^2 \csc ^4(e+f x)\right )+\frac {15 (a-b)^2 b \sin (2 (e+f x))}{a+b+(a-b) \cos (2 (e+f x))}\right )}{15 \sqrt {2} a^4 f} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.42, size = 264, normalized size = 1.54
method | result | size |
default | \(-\frac {\left (8 \left (\cos ^{6}\left (f x +e \right )\right ) a^{3}-64 \left (\cos ^{6}\left (f x +e \right )\right ) a^{2} b +104 \left (\cos ^{6}\left (f x +e \right )\right ) a \,b^{2}-48 \left (\cos ^{6}\left (f x +e \right )\right ) b^{3}-20 \left (\cos ^{4}\left (f x +e \right )\right ) a^{3}+164 \left (\cos ^{4}\left (f x +e \right )\right ) a^{2} b -288 \left (\cos ^{4}\left (f x +e \right )\right ) a \,b^{2}+144 \left (\cos ^{4}\left (f x +e \right )\right ) b^{3}+15 \left (\cos ^{2}\left (f x +e \right )\right ) a^{3}-130 \left (\cos ^{2}\left (f x +e \right )\right ) a^{2} b +264 \left (\cos ^{2}\left (f x +e \right )\right ) a \,b^{2}-144 \left (\cos ^{2}\left (f x +e \right )\right ) b^{3}+30 a^{2} b -80 a \,b^{2}+48 b^{3}\right ) \left (\cos ^{3}\left (f x +e \right )\right ) \left (\frac {a \left (\cos ^{2}\left (f x +e \right )\right )-\left (\cos ^{2}\left (f x +e \right )\right ) b +b}{\cos \left (f x +e \right )^{2}}\right )^{\frac {3}{2}}}{15 f \left (a \left (\cos ^{2}\left (f x +e \right )\right )-\left (\cos ^{2}\left (f x +e \right )\right ) b +b \right )^{2} \sin \left (f x +e \right )^{5} a^{4}}\) | \(264\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.29, size = 273, normalized size = 1.60 \begin {gather*} -\frac {\frac {30 \, b \tan \left (f x + e\right )}{\sqrt {b \tan \left (f x + e\right )^{2} + a} a^{2}} - \frac {80 \, b^{2} \tan \left (f x + e\right )}{\sqrt {b \tan \left (f x + e\right )^{2} + a} a^{3}} + \frac {48 \, b^{3} \tan \left (f x + e\right )}{\sqrt {b \tan \left (f x + e\right )^{2} + a} a^{4}} + \frac {15}{\sqrt {b \tan \left (f x + e\right )^{2} + a} a \tan \left (f x + e\right )} - \frac {40 \, b}{\sqrt {b \tan \left (f x + e\right )^{2} + a} a^{2} \tan \left (f x + e\right )} + \frac {24 \, b^{2}}{\sqrt {b \tan \left (f x + e\right )^{2} + a} a^{3} \tan \left (f x + e\right )} + \frac {10}{\sqrt {b \tan \left (f x + e\right )^{2} + a} a \tan \left (f x + e\right )^{3}} - \frac {6 \, b}{\sqrt {b \tan \left (f x + e\right )^{2} + a} a^{2} \tan \left (f x + e\right )^{3}} + \frac {3}{\sqrt {b \tan \left (f x + e\right )^{2} + a} a \tan \left (f x + e\right )^{5}}}{15 \, f} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 86.68, size = 242, normalized size = 1.42 \begin {gather*} -\frac {{\left (8 \, {\left (a^{3} - 8 \, a^{2} b + 13 \, a b^{2} - 6 \, b^{3}\right )} \cos \left (f x + e\right )^{7} - 4 \, {\left (5 \, a^{3} - 41 \, a^{2} b + 72 \, a b^{2} - 36 \, b^{3}\right )} \cos \left (f x + e\right )^{5} + {\left (15 \, a^{3} - 130 \, a^{2} b + 264 \, a b^{2} - 144 \, b^{3}\right )} \cos \left (f x + e\right )^{3} + 2 \, {\left (15 \, a^{2} b - 40 \, a b^{2} + 24 \, b^{3}\right )} \cos \left (f x + e\right )\right )} \sqrt {\frac {{\left (a - b\right )} \cos \left (f x + e\right )^{2} + b}{\cos \left (f x + e\right )^{2}}}}{15 \, {\left ({\left (a^{5} - a^{4} b\right )} f \cos \left (f x + e\right )^{6} + a^{4} b f - {\left (2 \, a^{5} - 3 \, a^{4} b\right )} f \cos \left (f x + e\right )^{4} + {\left (a^{5} - 3 \, a^{4} b\right )} f \cos \left (f x + e\right )^{2}\right )} \sin \left (f x + e\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\csc ^{6}{\left (e + f x \right )}}{\left (a + b \tan ^{2}{\left (e + f x \right )}\right )^{\frac {3}{2}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F(-1)]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \text {Hanged} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________